#include <iostream>
#include <cmath>
using namespace std;
int main ()
{
   cout<<"Vvedite chislo"<<endl;
   int N;
   cin>>N;
   int K=0;
   while (N!=pow(2,K))
       K=K+1;
   cout<<K;
   return 0;
}
